﻿using System;

namespace BoresSoft.Ftp
{
	/// <summary>
	/// One response line from remote server.
	/// </summary>
    public class ResponseLine
    {
        internal ResponseLine(short code, string msg)
        {
            Code = code;
            Message = msg;
        }

		/// <summary>
		/// Response code.
		/// </summary>
        public short Code
        {
            get;
            private set;
        }

		/// <summary>
		/// Response message.
		/// </summary>
        public string Message
        {
            get;
            private set;
        }
    }
}
